#!/bin/sh

####

# windows生成release包

#####

VERSION=$(cat './pubspec.yaml' | grep 'version:' | awk -F ': ' '{ print $2 }')
echo "VERSION="${VERSION}
flutter clean
flutter build windows --release
cd ./build/windows/x64/runner/Release
zip -r Windows_${VERSION}.zip ./*
